      $(document).ready(function() {
				$('#add_tr_window').dialog({
					autoOpen: false,
					width: 600,
					buttons: {
						"Ok": function() {
							$(this).dialog("close");
						},
						"Cancel": function() {
							$(this).dialog("close");
						}
					}
				});

				$('#add_tr').click(function(){
					$('#add_tr_window').dialog('open');
					return false;
				});

				$('#client_window').dialog({
					autoOpen: false,
					width: 300,
					buttons: {
						"Ok": function() {
							$(this).dialog("close");
						},
						"Cancel": function() {
							$(this).dialog("close");
						}
					}
				});

				$('#show_client_window').click(function(){
					$('#client_window').dialog('open');
					return false;
				});

				$(function() {
					$( '#tr_date' ).datepicker({ disabled: false });
				});


      });